package com.pets.web.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.pets.web.entity.PetsComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 商品评论表 Mapper 接口
 * </p>
 *
 * @author zhurenwang
 * @since 2024-05-26
 */
public interface PetsCommentMapper extends MPJBaseMapper<PetsComment> {

    @Select(value = "select max(sort) from pets_comment")
    int selectMaxSort();
}
